
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.TaskIntervalCycle;

import java.util.Calendar;
import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage TaskIntervalCycle entities.
 * 
 */
public interface TaskIntervalCycleDAO extends JpaDao<TaskIntervalCycle> {

	/**
	 * JPQL Query - findTaskIntervalCycleByMemo
	 *
	 */
	public Set<TaskIntervalCycle> findTaskIntervalCycleByMemo(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findTaskIntervalCycleByMemo
	 *
	 */
	public Set<TaskIntervalCycle> findTaskIntervalCycleByMemo(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskIntervalCycleByPrimaryKey
	 *
	 */
	public TaskIntervalCycle findTaskIntervalCycleByPrimaryKey(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findTaskIntervalCycleByPrimaryKey
	 *
	 */
	public TaskIntervalCycle findTaskIntervalCycleByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskIntervalCycleById
	 *
	 */
	public TaskIntervalCycle findTaskIntervalCycleById(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findTaskIntervalCycleById
	 *
	 */
	public TaskIntervalCycle findTaskIntervalCycleById(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllTaskIntervalCycles
	 *
	 */
	public Set<TaskIntervalCycle> findAllTaskIntervalCycles() throws DataAccessException;

	/**
	 * JPQL Query - findAllTaskIntervalCycles
	 *
	 */
	public Set<TaskIntervalCycle> findAllTaskIntervalCycles(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskIntervalCycleByMemoContaining
	 *
	 */
	public Set<TaskIntervalCycle> findTaskIntervalCycleByMemoContaining(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findTaskIntervalCycleByMemoContaining
	 *
	 */
	public Set<TaskIntervalCycle> findTaskIntervalCycleByMemoContaining(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskIntervalCycleByFirstExecuteDate
	 *
	 */
	public Set<TaskIntervalCycle> findTaskIntervalCycleByFirstExecuteDate(java.util.Calendar firstExecuteDate) throws DataAccessException;

	/**
	 * JPQL Query - findTaskIntervalCycleByFirstExecuteDate
	 *
	 */
	public Set<TaskIntervalCycle> findTaskIntervalCycleByFirstExecuteDate(Calendar firstExecuteDate, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskIntervalCycleByCycleDays
	 *
	 */
	public Set<TaskIntervalCycle> findTaskIntervalCycleByCycleDays(Integer cycleDays) throws DataAccessException;

	/**
	 * JPQL Query - findTaskIntervalCycleByCycleDays
	 *
	 */
	public Set<TaskIntervalCycle> findTaskIntervalCycleByCycleDays(Integer cycleDays, int startResult, int maxRows) throws DataAccessException;

}